<style>
  *{margin:0;padding:0;}
  .fl{float: left;}
  .fr{float: right;}
  .Y-top-nav {
    width: 100%;
    height: 55px;
    line-height:47px;
    background-color:#f8f8f8;
    border-bottom:8px solid #1e9b95;
    padding:0px 25px 0px 30px;
  }
  p,td{
    /*font-size:16px;*/
    color:#333;
  }
  .Y-content{
    width:100%;
  }
  .Y-main{
    padding:25px 15px 0px;
  }
  .Y-title-row{
    width:100%;
    height:68px;
    line-height:68px;
    background-color:#f8f8f8;
    border-left:8px solid #18bc9c;
    padding-left:20px;
  }
  .Y-info-row{
    padding:10px 0px;
  }
  table{width:100%;}
  td{
    height:50px;
    padding-left:20px;
    border:1px solid #dedede;
  }
  .Y-order-info td{
    width:20%;
    border:none;
  }
  .Y-order-info tr:nth-child(2n){
    background-color:#f8f8f8;
  }
  thead{background-color:#f8f8f8;}
  thead td{
    font-weight:bold;
  }
  .table{display: table;width: 100%}
  .table-cell{display: table-cell;}
  .price-con{  position: fixed;  top:10%;left: 50%;margin-left: -200px;background-color: #fff;border-radius: 10px; z-index:20;width: 400px;min-height: 200px;padding-left: 30px;padding-right: 30px;overflow: hidden}
  .price-tit{font-size: 18px;color: #333;text-align: center;padding:10px;}
  .price-con a{line-height: 40px;text-align: center}
  .input-con{padding-top: 30px;padding-bottom: 30px}
  .zz{position: fixed;  left:0;right: 0;bottom: 0;top: 0;z-index: 10;background-color: rgba(0,0,0,0.6)}
  .btn-con{position: absolute;bottom: 0;left: 0;width: 100%;margin-bottom: 0}
  .display{
    display: none;
  }
</style>
<form id="send-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

  <div class="Y-main">
    <div class="Y-content">
      <div class="Y-title-row">
        <p>退款订单信息</p>
      </div>
      <div class="Y-info-row Y-order-info">
        <table>
          <tr>
            <td>订单号</td>
            <td>{$vo.aftersale_sn}</td>
            <td>创建时间</td>
            <td>{$vo.createtime|date="Y-m-d H:i:s",###}</td>
            <td></td>
          </tr>
          <tr>
            <td>用户ID</td>
            <td>{$vo.user_id}</td>
            <td>微信昵称</td>
            <td>{$vo.user.nickname}</td>
            <td></td>
          </tr>

          <tr>
            <td>支付状态</td>
            <td>{$vo.order.pay_status==10?'未支付':'已支付'}</td>
            <td>支付时间</td>
            {if ($vo.order.paytime==0)}
            <td>无</td>
            {else}
            <td>{$vo.order.paytime|date="Y-m-d H:i:s",###}</td>
            {/if}
            <td></td>
          </tr>
<!--          <tr>-->
<!--            <td>{:__('支付金额')}</td>-->
<!--            <td>￥{$vo.pay_price}</td>-->
<!--            <td></td>-->
<!--          </tr>-->
          <tr>
            <td>{:__('退款类型')}</td>
            <td>{$vo.type==1?'仅退款':'退货退款'}</td>
            <td>{:__('Refund_time')}</td>

            <td>
              {if ($vo.refund_time==0)}
              无
              {else /}
              {$vo.refund_time|date="Y-m-d H:i:s",###}
              {/if}
            </td>
            <td></td>
          </tr>
          <tr>
            <td>{:__('Status')}</td>
            <td>{$vo.aftersale_status_text}</td>
            <td>{:__('Confirm_time')}</td>
            <td>
              {if ($vo.confirm_time==0)}
              无
              {else /}
              {$vo.confirm_time|date="Y-m-d H:i:s",###}
              {/if}
            </td>
            <td></td>
          </tr>
          <tr>
            <td>{:__('退款金额')}</td>
            <td>￥{$vo.refund_fee}</td>
            <td>{:__('Real_money')}</td>
            <td>￥{$vo.refund_fee}</td>

            <td></td>
          </tr>
          <tr>
            <td>{:__('退款理由')}</td>
            <td>{$vo.reason}</td>
            <td>{:__('退款图片')}</td>

            {notempty name="vo.images"}
            {foreach name="vo['imagess']" item="v2"}
            <td><img style="width: 78px;"  src="{$v2}" data-image-show/></td>
            {/foreach}
            {/notempty}

            <td></td>
          </tr>
          <tr>
            <td>{:__('内容')}</td>
            <td>{$vo.content}</td>
            <td></td>
          </tr>

        </table>
      </div>
    </div>
    <div class="Y-content">
      <div class="Y-title-row">
        <p>退款订单商品信息</p>
      </div>
      <div class="Y-info-row">
        <table>
          <thead>
          <tr>
            <td>商品名</td>
            <td>商品单价(￥)</td>
<!--            <td>商品优惠(￥)</td>-->
            <td>数量</td>
            <td>截止日期</td>
<!--            <td>预约总次数</td>-->
<!--            <td>已预约次数</td>-->
<!--            <td>可预约总次数</td>-->
          </tr>
          </thead>
          <tbody>

          <tr>
            <td>{$vo.goods_title}</td>
<!--            <td>{$vo.goods_original_price}</td>-->
            <td>{$vo.goods_price}元</td>

            <td>{$vo.goods_num}</td>
            <td>{$vo.rights_endtime|date="Y-m-d",###}</td>
          </tr>

          </tbody>
        </table>
      </div>
    </div>

  </div>

  <div class="Y-main">
    <div class="Y-content">
      <div class="Y-title-row">
        <p>原订单信息</p>
      </div>
      <div class="Y-info-row Y-order-info">
        <table>
          <tr>
            <td>订单号</td>
            <td>{$vo.order.order_sn}</td>
            <td>创建时间</td>
            <td>{$vo.order.createtime|date="Y-m-d H:i:s",###}</td>
            <td></td>
          </tr>
          <tr>
            <td>订单总金额</td>
            <td>￥{$vo.order.total_fee}</td>
            <td>实际支付金额</td>
            <td>￥{$vo.order.total_fee}</td>
            <td></td>
          </tr>
          <tr>
            <td>支付状态</td>
            <td>{$vo.order.pay_status==10?'未支付':'已支付'}</td>
            <td>支付时间</td>
            {if ($vo.order.paytime==0)}
            <td>无</td>
            {else}
            <td>{$vo.order.paytime|date="Y-m-d H:i:s",###}</td>
            {/if}
            <td></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="Y-content">
      <div class="Y-title-row">
        <p>订单商品信息</p>
      </div>
      <div class="Y-info-row">
        <table>
          <thead>
          <tr>
            <td>商品名</td>
            <td>商品单价(￥)</td>

            <td>数量</td>
            <td>截止日期</td>
<!--            <td>预约总次数</td>-->
<!--            <td>已预约次数</td>-->
<!--            <td>可预约总次数</td>-->
            <td>退款状态</td>
          </tr>
          </thead>
          <tbody>
          {foreach name="vo.ordergoods" item="item"}
          <tr>
            <td>{$item.goods_title}</td>
            <td>{$item.goods_price}</td>

            <td>{$item.total_num}</td>
            <td>{$item.rights_endtime_text}</td>

            <td>{$item.refund_status_text}</td>
          </tr>
          {/foreach}
          </tbody>
        </table>
      </div>
    </div>
    <div class="Y-content">
      <div class="Y-title-row">
        <p>操作日志</p>
      </div>
      <div class="Y-info-row">
        <table>
          <thead>
          <tr>
            <td>日志内容</td>
            <td>日志时间</td>
          </tr>
          </thead>
          <tbody>
          {foreach name="vo.log" item="item"}
          <tr>
            <td>{$item.mod_content}</td>
            <td>{$item.createtime|date="Y-m-d H:i:s",###}</td>
          </tr>
          {/foreach}
          </tbody>
        </table>
      </div>
    </div>
  </div>

  <fieldset>
    <legend><h4>退款订单</h4></legend>
    <div class="form-group">
      <input type="hidden" name="ids" id="ids" value="{$vo.id}">
      <label for="c-refund_fee" class="control-label col-xs-12 col-sm-2">实际退款:</label>
      <div class="col-xs-12 col-sm-8">
        <input placeholder="" id="c-refund_fee" data-rule="required" class="form-control" name="refund_fee" type="text" value="{$vo.refund_fee}">
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">订单审核状态:</label>
      <input type="hidden" name="before_checkinfo" value="{$vo.checkinfo}">

      <div class="col-xs-12 col-sm-8">
        <div class="radio" id="c-status">

          {foreach name="checkinfoList" item="v2"}

          <label for="checkinfo-{$key}">
            {if condition="$key lt $vo.checkinfo"}
            <input id="checkinfo-{$key}" name="checkinfo" type="radio" value="{$key}" disabled {in name="key"
                   value="$vo.checkinfo" }checked{/in} /> {$v2}
            {else /}
            <input id="checkinfo-{$key}" name="checkinfo" type="radio" value="{$key}" {in name="key"
                   value="$vo.checkinfo" }checked{/in} /> {$v2}
            {/if}


          </label>
          {/foreach}

        </div>
      </div>
    </div>
    {if condition="$vo.refund_status==0"}
    <div class="form-group  display refund_reason">
      <label class="control-label col-xs-12 col-sm-2">{:__('退款拒绝原因')}:</label>
      <div class="col-xs-12 col-sm-8">
        <textarea id="c-refund_reason" class="form-control " rows="5" name="refund_reason" cols="50">{$vo.refund_reason}</textarea>
      </div>
    </div>
    {/if}
  </fieldset>

  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
    </div>
  </div>


</form>